//
//  LXBulletinController.m
//  绿稀全球购
//
//  Created by 王敏 on 16/6/14.
//  Copyright © 2016年 SJT. All rights reserved.
//

#import "LXNewsListController.h"

#import "LXNewsDetailController.h"


@interface LXNewsListController ()<UITableViewDelegate,UITableViewDataSource>


@property(nonatomic,strong)UITableView * tableView;

@property(nonatomic,strong)LXNewsModel * listModel;
@end

@implementation LXNewsListController

NSString * const LXNewsListCellID = @"LXNewsListCell";

- (void)viewDidLoad {
    [super viewDidLoad];
    [self setUpNavi];
    [self setUpTableView];
}

-(void)setUpNavi{
    [super setUpNavi];
    self.navigationItem.title = @"绿稀快讯";
}



-(void)setUpTableView{
    UITableView * tableView = [[UITableView alloc] initWithFrame:self.view.bounds style:UITableViewStyleGrouped];
    tableView.delegate = self;
    tableView.dataSource = self;
    [self.view addSubview:tableView];
    self.tableView = tableView;
    
}


-(NSInteger)numberOfSectionsInTableView:(UITableView *)tableView{
    return 1;
}

-(NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section{
    return 0;
}


-(UITableViewCell*)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{
    return 0;
}

-(CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath{
    return [self cellHeightForIndexPath:indexPath];
}

-(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath{
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    
}

@end
